<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增用户</title>
</head>
<body>
<form action="/user/creatUser" method="post">
    <label>请输入用户名：<input name="username" type="text"></label><BR>
    <label>请输入密码：<input name="password" type="password"></label><BR>
    <label>请选择用户角色:
        <input type="radio" name="role" value="admin"> 管理员
        <input type="radio" name="role" value="user" checked>普通用户
    </label><BR>
    <input type="submit" value="提交">
</form>
</body>
</html>